<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <link rel="icon" href="/favicon.ico">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>小红书</title>
</head>
<script>
  let uWidth = 375
  function setFontSize() {
    const fontSize = document.documentElement.clientWidth / (uWidth / 16)
    document.documentElement.style.fontSize = fontSize + 'px'
  }
  setFontSize()
  window.addEventListener('resize', setFontSize)
</script>

<body>
  <div id="app"></div>
  <script type="module" src="/src/main.js"></script>
</body>

</html>